BoltCheckout\Bolt_Payment_Gateway S

Total Complexity 35
Dependencies 8
Dependents 1
Total lines 391
Lines of code 211
Logical lines of code 100
Comment lines 128
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
process_refund()
A
43 10 51
validate_bolt_button_color_field()
S
54 5 20
__construct()
S
57 3 16
get_icon()
S
59 3 11
generate_javascript_html()
S
48 1 39
refund_transaction()
S
53 2 23
process_admin_options()
S
66 3 8
admin_options()
S
65 1 17
can_refund_order()
S
80 2 3
bolt_sanitize_hex_color()
S
71 2 6
process_payment()
S
63 1 11
init_form_fields()
S
80 1 3
payment_fields()
S
80 1 3